<?php
	include_once 'metier/gridlayout.class.php';
	include_once 'metier/gridlayout.dao.mysql.php';

        
	$db = new myPDO();

        $tmpId = $_POST['identifiant'];

	$layout = new GridLayout(0,0,0,$tmpId);
	$gridDAO = new GridLayoutDAO();
       
	$gridDAO->deleteGrid($layout, $db);
?>